<template>
  <h1>BBB</h1>
  <p>{{ num }}</p>
  <p>{{ age }}</p>
</template>

<script lang="ts">
export default {
  name: "BBB",
  // 声明接受provide
  inject: ["num", "age"],
};
</script>

<style scoped></style>
